﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MementoPattern;

/// <summary>
/// 作用只是存储一些属性，作为备忘录模式的一个类
/// </summary>
internal class War3Memnto
{
    public string? Hero { get; set; }
    public string? Army { get; set; }
    public string? Resource { get; set; }
    public War3Memnto(string hero,string army,string resource)
    {
        Hero = hero;
        Army = army;
        Resource = resource;
    }

}
